
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>登录页面</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap-3.3.7-dist/css/bootstrap.min.css">
  </head>
  <body>
  <div class="container">

    <div class="panel panel-success">
      <div class="panel-heading text-center">
        <h4>登录页面</h4>
      </div>
      <div class="panel-body">
        <form class="form-horizontal" action="${pageContext.request.contextPath}/login.do">
          <div class="form-group">
            <label for="userName" class="col-sm-2 control-label">用户名</label>
            <div class="col-sm-10">
              <input type="text" class="form-control" id="userName" name="userName" placeholder="请输入邮箱或手机" value="admin">
            </div>
          </div>
          <div class="form-group">
            <label for="password" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
              <input type="text" class="form-control" id="password" name="password" placeholder="请输入6位以上密码" value="123456">
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
              <button type="submit" class="btn btn-default">登录</button>
              <span style="color:red">${msg}</span>
            </div>

          </div>
        </form>
      </div>
    </div>


  </div>
  </body>
</html>
